<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>订单商品查询</title>
		<jsp:include page="/page/jsp/member/head.jsp" />
		<script type="text/javascript">
			
			/* 返回 */
			function getback(){
				window.location = path+"/member/myOrderURL.htm";   
			}
		</script>
	</head>
<body>
	<div class="right2">
	<h1><b>订单:${orderId}</b></h1>
		<div class="ri_main2">
		  <table width="100%" id="mgrTable" border="0" cellpadding="8" cellspacing="1" class="margintop10" style="background:#d9d9d9;">
		    <tr>
		      <td width="10%" bgcolor="#eeeeee"><b>序号</b></td>
		      <td width="15%" bgcolor="#eeeeee"><b>商品图片</b></td>
		      <td width="50%" bgcolor="#eeeeee"><b>商品名称</b></td>
		      <td width="10%" bgcolor="#eeeeee"><b>商品单价</b></td>
		      <td width="15%" bgcolor="#eeeeee"><b>购买数量</b></td>
		    </tr>
		    <c:forEach var="list" items="${oList}" varStatus="s">
			  <tr>
			      <td bgcolor="#FFFFFF"><c:out value="${s.count}" /></td>
			      <td bgcolor="#FFFFFF"><a href="<%=basePath%>${list.entityUrl}" target="_blank"><img src="${img_server_url}/${list.entityImg}" width="70" height="70" /></a></td>
			      <td bgcolor="#FFFFFF"><a href="<%=basePath%>${list.entityUrl}" target="_blank">${list.entityName}</a></td>
			      <td bgcolor="#FFFFFF">${list.price}</td>
			      <td bgcolor="#FFFFFF">${list.amount}</td>
			  </tr>
		    </c:forEach>
		    <tr>
		      <td width="100%" colspan="5" bgcolor="#eeeeee" align="right"><a href="javascript:void(0);" onclick="getback()">返回 </a>&nbsp;</td>
		    </tr>
		    </table>
		</div>
	</div>
</body>
</html>